package com.example.composestudy.router.part2

import androidx.compose.material.Button
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import com.example.composestudy.router.RouterConfig

@Composable
fun FirstPage(navController: NavHostController) {
    Button(onClick = {
        navController.navigate(RouterConfig.LOGIN)
    }) {
        Text(text = "FirstPage")
    }
}